﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using SMG.Domain.Specifications;
using SMG.Domain.Model.Migration;

namespace SMG.Domain.Specifications.Migration
{
    public class FirstTaskDetailPlayIDEqualSpecification : Specification<FirstMoveTaskDetail>
    {
        private readonly long playId;
        public FirstTaskDetailPlayIDEqualSpecification(long playId)
        {
            this.playId = playId;
        }

        public override global::System.Linq.Expressions.Expression<Func<FirstMoveTaskDetail, bool>> GetExpression()
        {
            return t => t.PlayID == playId;
        }
    }
}
